<style>
    .small {
        margin-top: 10px;
    }
</style>

                    
<div class="wrapper-md" ng-controller="BannerOneCtrl">
    <div class="panel panel-default">
        <div class="panel-body" style="padding: 40px;">
            <div class="form-horizontal">
                <div class="form-group">
                  <label>张数</label>
                  <ui-select style="width: 120px;" ng-model="item.nums" theme="bootstrap">
                        <ui-select-match placeholder="请选择">{{$select.selected.name}}</ui-select-match>
                        <ui-select-choices repeat="item.id as item in mappers.nums | filter: $select.search">
                          <span ng-bind-html="item.name"></span>
                        </ui-select-choices>
                  </ui-select>
                </div>
                
                <div class="piclists">
                  <div ng-repeat="i in pics" class="pic" style="margin-left: 20px;">
                    <div class="form-group">图片{{$index+1}}</div>                    
                    
                    <div class="form-group" style="width: 500px;">
                      <p ng-show="i.picUrl">
                        <img style="width: 300px;" ng-src="{{i.picUrl}}" alt="">
                      </p>
                      <input type="file" nv-file-select="" uploader="i.uploader">
                      <p class="small">请200k以内的图片</p>
                    </div>

                    <div class="form-group">
                      <label>跳转</label>
                      <div>
                        <ui-select class="inline" style="width: 120px;" ng-model="i.state" theme="bootstrap">
                              <ui-select-match placeholder="请选择">{{$select.selected.name}}</ui-select-match>
                              <ui-select-choices repeat="item.id as item in mappers.state | filter: $select.search">
                                <span ng-bind-html="item.name"></span>
                              </ui-select-choices>
                        </ui-select>
                        <input type="text" class="form-control inline" style="width: 250px; vertical-align: middle;" ng-model="i.pageUrl" placeholder="请输入跳转地止">
                      </div>

                      <hr>
                    </div>
                  </div>
                </div>

                <div class="form-group">
                  <button ng-disabled="form.$invalid" ng-click="submit()" type="submit" class="btn btn-primary">保存并发布</button>
                  <a href="#/app/banner/list" class="btn btn-primary">返回</a>
                </div>
            </div>
        </div>
    </div>
</div>